﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ShenNius.Blog.ViewModels
{
    public class CmsAdvListVM
    {
        /// <summary>
        /// Desc:-
        /// Default:-
        /// Nullable:False
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// Desc:栏目ID
        /// Default:0
        /// Nullable:False
        /// </summary>
        public int SiteId{ get; set; }

        /// <summary>
        /// Desc:广告位名称
        /// Default:-
        /// Nullable:False
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// Desc:广告位类型
        /// Default:0
        /// Nullable:False
        /// </summary>
        public int Types { get; set; } = 1;

        /// <summary>
        /// Desc:是否启用
        /// Default:b'1'
        /// Nullable:False
        /// </summary>
        public bool Status { get; set; } = true;

        /// <summary>
        /// Desc:图片地址
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string ImgUrl { get; set; }

        /// <summary>
        /// Desc:链接地址
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string LinkUrl { get; set; }


        /// <summary>
        /// Desc:打开窗口类型
        /// Default:-
        /// Nullable:False
        /// </summary>
        public string Target { get; set; } = "_blank";

        /// <summary>
        /// Desc:广告位说明
        /// Default:-
        /// Nullable:True
        /// </summary>
        public string AdvCode { get; set; }

        /// <summary>
        /// Desc:是否启用时间显示
        /// Default:b'0'
        /// Nullable:False
        /// </summary>
        public bool IsTimeLimit { get; set; } = false;

        ///// <summary>
        ///// Desc:开始时间
        ///// Default:-
        ///// Nullable:True
        ///// </summary>
        //public DateTime? BeginTime { get; set; }

        ///// <summary>
        ///// Desc:结束时间
        ///// Default:-
        ///// Nullable:True
        ///// </summary>
        //public DateTime? EndTime { get; set; }
    }
}
